<!--头部公共部分-->
{include file="common/header" /}

<div style="padding:15px;font-size: 14px;">
    <form class="layui-form layui-form-pane">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">订单编号</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value='{$contract.contract_number}'
                           autocomplete="off"   class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">收款日期</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value="元" autocomplete="off"
                           class="layui-input">
                    <input type="hidden" id="stay_amount" value="">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">收款校区</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value="" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item" style="margin-top: -10px;">
            <div class="layui-inline">
                <label class="layui-form-label"><span class="x-red"></span>收费归属</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value=""
                           autocomplete="off"   class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label"><span class="x-red"></span>收款校区</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value=""
                           autocomplete="off"   class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label"><span class="x-red"></span>收款人</label>
                <div class="layui-input-inline">
                    <input type="text" readonly value=""
                           autocomplete="off"   class="layui-input">
                </div>
            </div>
        </div>


                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label"><span class="x-red"></span>支付方式</label>
                            <div class="layui-input-inline">
                                <input type="text" readonly value=""
                                       autocomplete="off"   class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label"><span class="x-red"></span>收款金额</label>
                            <div class="layui-input-inline">
                                <input type="text" id="amount" name="amount" lay-verify="required" autocomplete="off"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label"><span class="x-red"></span>收款凭证号</label>
                            <div class="layui-input-inline">
                                <input type="text" name="receipt_number" value="" readonly  autocomplete="off"
                                       class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-inline">
                        <input class="layui-btn layui-btn-sm layui-btn-primary" lay-submit style="width:80px;" lay-filter="cancle" value="取消" readonly>
                        <input class="layui-btn layui-btn-sm layui-btn-normal" lay-submit lay-filter="form" style="width:80px;" value="保存" readonly>
                    </div>

    </form>
</div>
<!--底部公共部分-->
{include file="common/footer" /}
<script>

    layui.use(['element', 'jquery', 'form', 'laydate', 'layer'], function () {
        let $ = layui.$,
            layer = layui.layer,
            form = layui.form,
            element = layui.element,
            laydate = layui.laydate,
            jquery = layui.jquery;

        //日期
        laydate.render({
            elem: '#date'
            ,trigger: 'click'
        });

        //监听提交
        form.on('submit(form)', function (data) {

            return false;
        });
    });
</script>
